package com.dsj.estore.entity;

import java.io.Serializable;
import java.sql.Timestamp;

public class ProductEntity implements Serializable {
    private int id;
    private int categoryMainId;
    private int categoryBranchId;
    private String name;
    private String producingArea;
    private String description;
    private java.sql.Timestamp createTime;
    private double marketPrice;
    private double sellPrice;
    private int productAmount;
    private String picture;
    private int discount;

    public ProductEntity() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getCategoryMainId() {
        return categoryMainId;
    }

    public void setCategoryMainId(int categoryMainId) {
        this.categoryMainId = categoryMainId;
    }

    public int getCategoryBranchId() {
        return categoryBranchId;
    }

    public void setCategoryBranchId(int categoryBranchId) {
        this.categoryBranchId = categoryBranchId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getProducingArea() {
        return producingArea;
    }

    public void setProducingArea(String producingArea) {
        this.producingArea = producingArea;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public double getMarketPrice() {
        return marketPrice;
    }

    public void setMarketPrice(double marketPrice) {
        this.marketPrice = marketPrice;
    }

    public double getSellPrice() {
        return sellPrice;
    }

    public void setSellPrice(double sellPrice) {
        this.sellPrice = sellPrice;
    }

    public int getProductAmount() {
        return productAmount;
    }

    public void setProductAmount(int productAmount) {
        this.productAmount = productAmount;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public int getDiscount() {
        return discount;
    }

    public void setDiscount(int discount) {
        this.discount = discount;
    }
}
